/*
 * @Author: yxfan
 * @Date: 2023-07-03 20:29:45
 * @LastEditTime: 2023-07-03 21:11:41
 * @FilePath: /umi-demo/src/pages/demo/ZombieChildren/index.js
 * @Description:
 */
import { useSelector } from 'umi';
import Child from './child';

export default () => {
    const { num } = useSelector((state) => state.zombieChildren);

    return (
        <div>
            111
            {num != 1 && <Child />}
        </div>
    );
};
